import requests
from bs4 import BeautifulSoup
import re, os, time
# 给出淘宝url
url = 'https://buyertrade.taobao.com/trade/itemlist/list_bought_items.htm?spm=a21bo.2017.1997525045.2.5af911d9phMiOt'
# 获取连接
response = requests.get(url)
# 拿到数据
response.encoding='utf-8'
data = response.text
print(data)

#
soup = BeautifulSoup(response.content,'html.parser')
print(soup.find_all('a'))

reg = '//[\w]*\.?alicdn\.com[^"\']+'


